// Lean compiler output
// Module: Lean.Data.Lsp.Capabilities
// Imports: public import Lean.Data.JsonRpc public import Lean.Data.Lsp.LanguageFeatures public import Lean.Data.Lsp.CodeActions public import Lean.Data.Lsp.Extra
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__1___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___boxed(lean_object*);
lean_object* l_Lean_Lsp_instFromJsonModuleHierarchyOptions_fromJson(lean_object*);
static lean_object* l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__30;
static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__12;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14(lean_object*, lean_object*);
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4_spec__4(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___boxed(lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4___boxed(lean_object*, lean_object*);
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__48;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13;
lean_object* l_Lean_Lsp_instToJsonInlayHintClientCapabilities_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1_spec__1(size_t, size_t, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__15;
static lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__5;
lean_object* l_Lean_Json_mkObj(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__62;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__42;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10;
lean_object* l_Lean_Lsp_instFromJsonDocumentColorOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__3___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__65;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0;
static lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__22;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__8(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__34;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__32;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instFromJsonRenameOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__20;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__6;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__15;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__5;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__10;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__16;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__84;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13;
static lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__10;
static lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1;
lean_object* l_Lean_Lsp_instToJsonModuleHierarchyOptions_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWindowClientCapabilities_toJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__6(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__70;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__27;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17;
lean_object* l_Lean_Lsp_instFromJsonCompletionOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__0;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2_spec__2(size_t, size_t, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__5;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__14;
static lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities___closed__0;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__52;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__35;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__6;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanServerCapabilities_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__21;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__85;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___boxed(lean_object*);
lean_object* l_Lean_Json_getBool_x3f(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__15;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__39;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__87;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__7;
lean_object* l_List_foldl___at___00Array_appendList_spec__0___redArg(lean_object*, lean_object*);
lean_object* l_Lean_Json_getStr_x3f(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__38;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0;
lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities;
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonSignatureHelpOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__6;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__0;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__86;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__72;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__44;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__56;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__76;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__69;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__46;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3;
static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__51;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__47;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2_spec__2(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instFromJsonCodeActionOptions_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__79;
lean_object* l_Lean_Lsp_instToJsonCodeActionOptions_toJson(lean_object*);
lean_object* l_Lean_Lsp_instToJsonInlayHintOptions_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50;
static lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__64;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__16;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__7(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonCodeActionClientCapabilities_toJson(lean_object*);
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__7;
lean_object* lean_array_to_list(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__17;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instFromJsonInlayHintClientCapabilities_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__28;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instToJsonDocumentColorOptions_toJson(uint8_t);
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__0;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9;
lean_object* l_Lean_Lsp_instToJsonSemanticTokensOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__0;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__10;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__20;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__17;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__12;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13;
static lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__57;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionClientCapabilities_toJson_spec__0___boxed(lean_object*, lean_object*);
lean_object* l_Lean_Lsp_instFromJsonInlayHintOptions_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__75;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__59;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__1;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__82;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__80;
lean_object* l_Lean_Lsp_instFromJsonCodeActionClientCapabilities_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities;
lean_object* l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(lean_object*, uint8_t);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__67;
static lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWindowClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__9;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__11;
static lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__10;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__81;
static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__12;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__14;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__24;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport___boxed(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson(uint8_t);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__11;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__53;
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__3;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__55;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__5;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__43;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__19;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45;
lean_object* l_Lean_Lsp_instFromJsonSignatureHelpOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4(lean_object*);
lean_object* l_Lean_Lsp_instToJsonCompletionOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88;
lean_object* l_Lean_Lsp_instToJsonRpcOptions_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__7___boxed(lean_object*, lean_object*);
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__0;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson(lean_object*);
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__12;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6(lean_object*);
static lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__5(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__11;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8;
lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncOptions_fromJson(lean_object*);
lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncOptions_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__36;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__15;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__17;
static lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__11;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities;
static lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
static lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonClientCapabilities;
size_t lean_usize_add(size_t, size_t);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson(lean_object*);
static lean_object* l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__1;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__6;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__1;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanServerCapabilities;
lean_object* lean_array_uget(lean_object*, size_t);
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__22;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__0;
size_t lean_array_size(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__5___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__18;
LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__19;
lean_object* l_Lean_Name_mkStr1(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__77;
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__14;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__31;
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities;
static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__14;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__16;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6_spec__6(lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__16;
static lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__5;
lean_object* lean_string_append(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__8;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___boxed(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__1;
uint8_t lean_usize_dec_lt(size_t, size_t);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__7;
lean_object* l_Lean_Lsp_instToJsonRenameOptions_toJson(uint8_t);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__7;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__6;
lean_object* l_Lean_Json_pretty(lean_object*, lean_object*);
static lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16___closed__0;
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__10;
static lean_object* l_Lean_Lsp_instToJsonClientCapabilities___closed__0;
lean_object* l_Lean_Lsp_instFromJsonSemanticTokensOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__0;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__2;
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14_spec__14(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonClientCapabilities;
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__66;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__1;
static lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2;
static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__0;
static lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__5;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6;
static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40;
static lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
lean_object* l_Lean_Lsp_instFromJsonRpcOptions_fromJson(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4___boxed(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__0;
static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__12;
static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__9;
static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__4;
static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__3;
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
x_3 = lean_array_to_list(x_2);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 1);
lean_inc(x_5);
lean_dec_ref(x_1);
x_6 = l_List_foldl___at___00Array_appendList_spec__0___redArg(x_2, x_4);
x_1 = x_5;
x_2 = x_6;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_alloc_ctor(1, 0, 1);
x_6 = lean_unbox(x_4);
lean_ctor_set_uint8(x_5, 0, x_6);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_5);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
return x_9;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("insertReplaceSupport", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Json_getBool_x3f(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0(x_3);
lean_dec(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lsp", 3, 3);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CompletionItemCapabilities", 26, 26);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__2;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__4() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__3;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(".", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__4;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("insertReplaceSupport\?", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__7;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__8;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(": ", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__10;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionClientCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("completionItem", 14, 14);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionClientCapabilities_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionClientCapabilities_toJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionClientCapabilities_toJson_spec__0(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("CompletionClientCapabilities", 28, 28);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("completionItem\?", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonCodeActionClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonInlayHintClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("completion", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("codeAction", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inlayHint", 9, 9);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
lean_inc(x_4);
lean_dec_ref(x_1);
x_5 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0;
x_6 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__0(x_5, x_2);
lean_dec(x_2);
x_7 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1;
x_8 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__1(x_7, x_3);
x_9 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2;
x_10 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__2(x_9, x_4);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_8);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_6);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_16 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_14, x_15);
x_17 = l_Lean_Json_mkObj(x_16);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson_spec__0(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonCodeActionClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonInlayHintClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("TextDocumentClientCapabilities", 30, 30);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("completion\?", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("codeAction\?", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__11() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__10;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__12;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inlayHint\?", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__14;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__16() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__15;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__16;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__17;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1;
lean_inc(x_1);
x_17 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
lean_dec(x_15);
lean_dec(x_1);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26; 
lean_dec(x_15);
lean_dec(x_1);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_17, 0);
lean_inc(x_29);
lean_dec_ref(x_17);
x_30 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2;
x_31 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4(x_1, x_30);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
lean_dec(x_29);
lean_dec(x_15);
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_31, 0);
x_34 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18;
x_35 = lean_string_append(x_34, x_33);
lean_dec(x_33);
lean_ctor_set(x_31, 0, x_35);
return x_31;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_31, 0);
lean_inc(x_36);
lean_dec(x_31);
x_37 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18;
x_38 = lean_string_append(x_37, x_36);
lean_dec(x_36);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
else
{
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_40; 
lean_dec(x_29);
lean_dec(x_15);
x_40 = !lean_is_exclusive(x_31);
if (x_40 == 0)
{
lean_ctor_set_tag(x_31, 0);
return x_31;
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_31, 0);
lean_inc(x_41);
lean_dec(x_31);
x_42 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
else
{
uint8_t x_43; 
x_43 = !lean_is_exclusive(x_31);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_ctor_get(x_31, 0);
x_45 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_45, 0, x_15);
lean_ctor_set(x_45, 1, x_29);
lean_ctor_set(x_45, 2, x_44);
lean_ctor_set(x_31, 0, x_45);
return x_31;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_46 = lean_ctor_get(x_31, 0);
lean_inc(x_46);
lean_dec(x_31);
x_47 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_47, 0, x_15);
lean_ctor_set(x_47, 1, x_29);
lean_ctor_set(x_47, 2, x_46);
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_47);
return x_48;
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("support", 7, 7);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson(uint8_t x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_2 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0;
x_3 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_3, 0, x_1);
x_4 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_4, 0, x_2);
lean_ctor_set(x_4, 1, x_3);
x_5 = lean_box(0);
x_6 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_6, 0, x_4);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_7, 0, x_6);
lean_ctor_set(x_7, 1, x_5);
x_8 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_9 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_7, x_8);
x_10 = l_Lean_Json_mkObj(x_9);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = lean_unbox(x_1);
x_3 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Lean_Json_getBool_x3f(x_3);
lean_dec(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ShowDocumentClientCapabilities", 30, 30);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__5() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__4;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__6;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWindowClientCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_unbox(x_4);
x_6 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson(x_5);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_6);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
return x_9;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("showDocument", 12, 12);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWindowClientCapabilities_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWindowClientCapabilities_toJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWindowClientCapabilities_toJson_spec__0(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("WindowClientCapabilities", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("showDocument\?", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("groupsOnLabel", 13, 13);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0;
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ChangeAnnotationSupport", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("groupsOnLabel\?", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1_spec__1(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_unsigned_to_nat(0u);
x_7 = lean_array_uset(x_3, x_2, x_6);
x_8 = lean_alloc_ctor(3, 1, 0);
lean_ctor_set(x_8, 0, x_5);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_7, x_2, x_8);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l_Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1(lean_object* x_1) {
_start:
{
size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; 
x_2 = lean_array_size(x_1);
x_3 = 0;
x_4 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1_spec__1(x_2, x_3, x_1);
x_5 = lean_alloc_ctor(4, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("documentChanges", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("changeAnnotationSupport", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("resourceOperations", 18, 18);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
lean_inc(x_4);
lean_dec_ref(x_1);
x_5 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0;
x_6 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_5, x_2);
lean_dec(x_2);
x_7 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1;
x_8 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__0(x_7, x_3);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2;
x_10 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1(x_9, x_4);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_10);
lean_ctor_set(x_12, 1, x_11);
x_13 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_13, 0, x_8);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_14, 0, x_6);
lean_ctor_set(x_14, 1, x_13);
x_15 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_16 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_14, x_15);
x_17 = l_Lean_Json_mkObj(x_16);
return x_17;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__0(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson_spec__1_spec__1_spec__1(x_4, x_5, x_3);
return x_6;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2_spec__2(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_3);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_array_uget(x_3, x_2);
x_7 = l_Lean_Json_getStr_x3f(x_6);
if (lean_obj_tag(x_7) == 0)
{
uint8_t x_8; 
lean_dec_ref(x_3);
x_8 = !lean_is_exclusive(x_7);
if (x_8 == 0)
{
return x_7;
}
else
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_ctor_get(x_7, 0);
lean_inc(x_9);
lean_dec(x_7);
x_10 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_10, 0, x_9);
return x_10;
}
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; 
x_11 = lean_ctor_get(x_7, 0);
lean_inc(x_11);
lean_dec_ref(x_7);
x_12 = lean_unsigned_to_nat(0u);
x_13 = lean_array_uset(x_3, x_2, x_12);
x_14 = 1;
x_15 = lean_usize_add(x_2, x_14);
x_16 = lean_array_uset(x_13, x_2, x_11);
x_2 = x_15;
x_3 = x_16;
goto _start;
}
}
}
}
static lean_object* _init_l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("expected JSON array, got '", 26, 26);
return x_1;
}
}
static lean_object* _init_l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("'", 1, 1);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 4)
{
lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc_ref(x_2);
lean_dec_ref(x_1);
x_3 = lean_array_size(x_2);
x_4 = 0;
x_5 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2_spec__2(x_3, x_4, x_2);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_6 = l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__0;
x_7 = lean_unsigned_to_nat(80u);
x_8 = l_Lean_Json_pretty(x_1, x_7);
x_9 = lean_string_append(x_6, x_8);
lean_dec_ref(x_8);
x_10 = l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__1;
x_11 = lean_string_append(x_9, x_10);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("WorkspaceEditClientCapabilities", 31, 31);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("documentChanges\?", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("changeAnnotationSupport\?", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__11() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__10;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__12;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("resourceOperations\?", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__14;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__16() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__15;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__16;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__17;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1;
lean_inc(x_1);
x_17 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
lean_dec(x_15);
lean_dec(x_1);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26; 
lean_dec(x_15);
lean_dec(x_1);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_17, 0);
lean_inc(x_29);
lean_dec_ref(x_17);
x_30 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2;
x_31 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2(x_1, x_30);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
lean_dec(x_29);
lean_dec(x_15);
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_31, 0);
x_34 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18;
x_35 = lean_string_append(x_34, x_33);
lean_dec(x_33);
lean_ctor_set(x_31, 0, x_35);
return x_31;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_31, 0);
lean_inc(x_36);
lean_dec(x_31);
x_37 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18;
x_38 = lean_string_append(x_37, x_36);
lean_dec(x_36);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
else
{
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_40; 
lean_dec(x_29);
lean_dec(x_15);
x_40 = !lean_is_exclusive(x_31);
if (x_40 == 0)
{
lean_ctor_set_tag(x_31, 0);
return x_31;
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_31, 0);
lean_inc(x_41);
lean_dec(x_31);
x_42 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
else
{
uint8_t x_43; 
x_43 = !lean_is_exclusive(x_31);
if (x_43 == 0)
{
lean_object* x_44; lean_object* x_45; 
x_44 = lean_ctor_get(x_31, 0);
x_45 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_45, 0, x_15);
lean_ctor_set(x_45, 1, x_29);
lean_ctor_set(x_45, 2, x_44);
lean_ctor_set(x_31, 0, x_45);
return x_31;
}
else
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; 
x_46 = lean_ctor_get(x_31, 0);
lean_inc(x_46);
lean_dec(x_31);
x_47 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_47, 0, x_15);
lean_ctor_set(x_47, 1, x_29);
lean_ctor_set(x_47, 2, x_46);
x_48 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_48, 0, x_47);
return x_48;
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2_spec__2(x_4, x_5, x_3);
return x_6;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("applyEdit", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("workspaceEdit", 13, 13);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0;
x_6 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_5, x_3);
lean_dec(x_3);
x_7 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1;
x_8 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson_spec__0(x_7, x_4);
x_9 = lean_box(0);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 1, x_9);
lean_ctor_set(x_1, 0, x_8);
x_10 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_10, 0, x_6);
lean_ctor_set(x_10, 1, x_1);
x_11 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_12 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_10, x_11);
x_13 = l_Lean_Json_mkObj(x_12);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_14 = lean_ctor_get(x_1, 0);
x_15 = lean_ctor_get(x_1, 1);
lean_inc(x_15);
lean_inc(x_14);
lean_dec(x_1);
x_16 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0;
x_17 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_16, x_14);
lean_dec(x_14);
x_18 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1;
x_19 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson_spec__0(x_18, x_15);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_17);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_24 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_22, x_23);
x_25 = l_Lean_Json_mkObj(x_24);
return x_25;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("WorkspaceClientCapabilities", 27, 27);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("applyEdit\?", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("workspaceEdit\?", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__11() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__10;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__12;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1;
x_17 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
lean_dec(x_15);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26; 
lean_dec(x_15);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
uint8_t x_29; 
x_29 = !lean_is_exclusive(x_17);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_17, 0);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_15);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_17, 0, x_31);
return x_17;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_ctor_get(x_17, 0);
lean_inc(x_32);
lean_dec(x_17);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_15);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
return x_34;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("silentDiagnosticSupport", 23, 23);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_2 = l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__0(x_2, x_1);
x_4 = lean_box(0);
x_5 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_5, 0, x_3);
lean_ctor_set(x_5, 1, x_4);
x_6 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_7 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_5, x_6);
x_8 = l_Lean_Json_mkObj(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonLeanClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___boxed), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonLeanClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonLeanClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LeanClientCapabilities", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("silentDiagnosticSupport\?", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0;
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
uint8_t x_15; 
x_15 = !lean_is_exclusive(x_3);
if (x_15 == 0)
{
return x_3;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_3, 0);
lean_inc(x_16);
lean_dec(x_3);
x_17 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_17, 0, x_16);
return x_17;
}
}
}
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonLeanClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("textDocument", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("window", 6, 6);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("workspace", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lean", 4, 4);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonClientCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get(x_1, 2);
lean_inc(x_4);
x_5 = lean_ctor_get(x_1, 3);
lean_inc(x_5);
lean_dec_ref(x_1);
x_6 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0;
x_7 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__0(x_6, x_2);
x_8 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1;
x_9 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__1(x_8, x_3);
lean_dec(x_3);
x_10 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2;
x_11 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__2(x_10, x_4);
x_12 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3;
x_13 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__3(x_12, x_5);
lean_dec(x_5);
x_14 = lean_box(0);
x_15 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_15, 0, x_13);
lean_ctor_set(x_15, 1, x_14);
x_16 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_16, 0, x_11);
lean_ctor_set(x_16, 1, x_15);
x_17 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_17, 0, x_9);
lean_ctor_set(x_17, 1, x_16);
x_18 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_18, 0, x_7);
lean_ctor_set(x_18, 1, x_17);
x_19 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_20 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_18, x_19);
x_21 = l_Lean_Json_mkObj(x_20);
return x_21;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__1___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__1(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonClientCapabilities_toJson_spec__3(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonClientCapabilities_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonClientCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2_spec__2(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6_spec__6(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6_spec__6(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ClientCapabilities", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("textDocument\?", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("window\?", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__11() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__10;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__12;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("workspace\?", 10, 10);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__14;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__16() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__15;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__16;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__17;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("lean\?", 5, 5);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__19;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__21() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__20;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__21;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__22;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonClientCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1;
lean_inc(x_1);
x_17 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
lean_dec(x_15);
lean_dec(x_1);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26; 
lean_dec(x_15);
lean_dec(x_1);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_17, 0);
lean_inc(x_29);
lean_dec_ref(x_17);
x_30 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2;
lean_inc(x_1);
x_31 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4(x_1, x_30);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_31, 0);
x_34 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18;
x_35 = lean_string_append(x_34, x_33);
lean_dec(x_33);
lean_ctor_set(x_31, 0, x_35);
return x_31;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_31, 0);
lean_inc(x_36);
lean_dec(x_31);
x_37 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18;
x_38 = lean_string_append(x_37, x_36);
lean_dec(x_36);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
else
{
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_40; 
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_40 = !lean_is_exclusive(x_31);
if (x_40 == 0)
{
lean_ctor_set_tag(x_31, 0);
return x_31;
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_31, 0);
lean_inc(x_41);
lean_dec(x_31);
x_42 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_31, 0);
lean_inc(x_43);
lean_dec_ref(x_31);
x_44 = l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3;
x_45 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6(x_1, x_44);
if (lean_obj_tag(x_45) == 0)
{
uint8_t x_46; 
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
x_46 = !lean_is_exclusive(x_45);
if (x_46 == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_47 = lean_ctor_get(x_45, 0);
x_48 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23;
x_49 = lean_string_append(x_48, x_47);
lean_dec(x_47);
lean_ctor_set(x_45, 0, x_49);
return x_45;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_50 = lean_ctor_get(x_45, 0);
lean_inc(x_50);
lean_dec(x_45);
x_51 = l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23;
x_52 = lean_string_append(x_51, x_50);
lean_dec(x_50);
x_53 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_53, 0, x_52);
return x_53;
}
}
else
{
if (lean_obj_tag(x_45) == 0)
{
uint8_t x_54; 
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
x_54 = !lean_is_exclusive(x_45);
if (x_54 == 0)
{
lean_ctor_set_tag(x_45, 0);
return x_45;
}
else
{
lean_object* x_55; lean_object* x_56; 
x_55 = lean_ctor_get(x_45, 0);
lean_inc(x_55);
lean_dec(x_45);
x_56 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_56, 0, x_55);
return x_56;
}
}
else
{
uint8_t x_57; 
x_57 = !lean_is_exclusive(x_45);
if (x_57 == 0)
{
lean_object* x_58; lean_object* x_59; 
x_58 = lean_ctor_get(x_45, 0);
x_59 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_59, 0, x_15);
lean_ctor_set(x_59, 1, x_29);
lean_ctor_set(x_59, 2, x_43);
lean_ctor_set(x_59, 3, x_58);
lean_ctor_set(x_45, 0, x_59);
return x_45;
}
else
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_60 = lean_ctor_get(x_45, 0);
lean_inc(x_60);
lean_dec(x_45);
x_61 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_61, 0, x_15);
lean_ctor_set(x_61, 1, x_29);
lean_ctor_set(x_61, 2, x_43);
lean_ctor_set(x_61, 3, x_60);
x_62 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_62, 0, x_61);
return x_62;
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__6(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonClientCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = lean_ctor_get(x_1, 3);
if (lean_obj_tag(x_2) == 1)
{
lean_object* x_3; 
x_3 = lean_ctor_get(x_2, 0);
if (lean_obj_tag(x_3) == 1)
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_ctor_get(x_3, 0);
x_5 = lean_unbox(x_4);
return x_5;
}
else
{
uint8_t x_6; 
x_6 = 0;
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = 0;
return x_7;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport___boxed(lean_object* x_1) {
_start:
{
uint8_t x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_ClientCapabilities_silentDiagnosticSupport(x_1);
lean_dec_ref(x_1);
x_3 = lean_box(x_2);
return x_3;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonModuleHierarchyOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0(x_3);
lean_dec(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonRpcOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moduleHierarchyProvider", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("LeanServerCapabilities", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__3() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__2;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("moduleHierarchyProvider\?", 24, 24);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__7() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__7;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rpcProvider", 11, 11);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("rpcProvider\?", 12, 12);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
x_17 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
lean_dec(x_15);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26; 
lean_dec(x_15);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
uint8_t x_29; 
x_29 = !lean_is_exclusive(x_17);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; 
x_30 = lean_ctor_get(x_17, 0);
x_31 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_31, 0, x_15);
lean_ctor_set(x_31, 1, x_30);
lean_ctor_set(x_17, 0, x_31);
return x_17;
}
else
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_32 = lean_ctor_get(x_17, 0);
lean_inc(x_32);
lean_dec(x_17);
x_33 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_33, 0, x_15);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_34, 0, x_33);
return x_34;
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0(x_1);
lean_dec(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonModuleHierarchyOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonRpcOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanServerCapabilities_toJson(lean_object* x_1) {
_start:
{
uint8_t x_2; 
x_2 = !lean_is_exclusive(x_1);
if (x_2 == 0)
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_3 = lean_ctor_get(x_1, 0);
x_4 = lean_ctor_get(x_1, 1);
x_5 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
x_6 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_5, x_3);
x_7 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
x_8 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(x_7, x_4);
x_9 = lean_box(0);
lean_ctor_set_tag(x_1, 1);
lean_ctor_set(x_1, 1, x_9);
lean_ctor_set(x_1, 0, x_8);
x_10 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_10, 0, x_6);
lean_ctor_set(x_10, 1, x_1);
x_11 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_12 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_10, x_11);
x_13 = l_Lean_Json_mkObj(x_12);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_14 = lean_ctor_get(x_1, 0);
x_15 = lean_ctor_get(x_1, 1);
lean_inc(x_15);
lean_inc(x_14);
lean_dec(x_1);
x_16 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0;
x_17 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__0(x_16, x_14);
x_18 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10;
x_19 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonLeanServerCapabilities_toJson_spec__1(x_18, x_15);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_21, 0, x_19);
lean_ctor_set(x_21, 1, x_20);
x_22 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_22, 0, x_17);
lean_ctor_set(x_22, 1, x_21);
x_23 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_24 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_22, x_23);
x_25 = l_Lean_Json_mkObj(x_24);
return x_25;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonLeanServerCapabilities_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonLeanServerCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonTextDocumentSyncOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__1(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonCompletionOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_unbox(x_4);
x_6 = l_Lean_Lsp_instToJsonRenameOptions_toJson(x_5);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_6);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonSemanticTokensOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonCodeActionOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__5(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = l_Lean_Lsp_instToJsonInlayHintOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonSignatureHelpOptions_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__7(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_4 = lean_ctor_get(x_2, 0);
x_5 = lean_unbox(x_4);
x_6 = l_Lean_Lsp_instToJsonDocumentColorOptions_toJson(x_5);
x_7 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_7, 0, x_1);
lean_ctor_set(x_7, 1, x_6);
x_8 = lean_box(0);
x_9 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_9, 0, x_7);
lean_ctor_set(x_9, 1, x_8);
return x_9;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__8(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_2) == 0)
{
lean_object* x_3; 
lean_dec_ref(x_1);
x_3 = lean_box(0);
return x_3;
}
else
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 0);
lean_inc(x_4);
lean_dec_ref(x_2);
x_5 = l_Lean_Lsp_instToJsonLeanServerCapabilities_toJson(x_4);
x_6 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_6, 0, x_1);
lean_ctor_set(x_6, 1, x_5);
x_7 = lean_box(0);
x_8 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_8, 0, x_6);
lean_ctor_set(x_8, 1, x_7);
return x_8;
}
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("textDocumentSync", 16, 16);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("completionProvider", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("hoverProvider", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("documentHighlightProvider", 25, 25);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("documentSymbolProvider", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("definitionProvider", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("declarationProvider", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("typeDefinitionProvider", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("referencesProvider", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("callHierarchyProvider", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("renameProvider", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("workspaceSymbolProvider", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("foldingRangeProvider", 20, 20);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("semanticTokensProvider", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("codeActionProvider", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inlayHintProvider", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("signatureHelpProvider", 21, 21);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("colorProvider", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("experimental", 12, 12);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerCapabilities_toJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_2 = lean_ctor_get(x_1, 0);
lean_inc(x_2);
x_3 = lean_ctor_get(x_1, 1);
lean_inc(x_3);
x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*9);
x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 1);
x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 2);
x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 3);
x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 4);
x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 5);
x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 6);
x_11 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 7);
x_12 = lean_ctor_get(x_1, 2);
lean_inc(x_12);
x_13 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 8);
x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*9 + 9);
x_15 = lean_ctor_get(x_1, 3);
lean_inc(x_15);
x_16 = lean_ctor_get(x_1, 4);
lean_inc(x_16);
x_17 = lean_ctor_get(x_1, 5);
lean_inc(x_17);
x_18 = lean_ctor_get(x_1, 6);
lean_inc(x_18);
x_19 = lean_ctor_get(x_1, 7);
lean_inc(x_19);
x_20 = lean_ctor_get(x_1, 8);
lean_inc(x_20);
lean_dec_ref(x_1);
x_21 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0;
x_22 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__0(x_21, x_2);
lean_dec(x_2);
x_23 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1;
x_24 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__1(x_23, x_3);
x_25 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2;
x_26 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_26, 0, x_4);
x_27 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_27, 0, x_25);
lean_ctor_set(x_27, 1, x_26);
x_28 = lean_box(0);
x_29 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_29, 0, x_27);
lean_ctor_set(x_29, 1, x_28);
x_30 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3;
x_31 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_31, 0, x_5);
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_32);
lean_ctor_set(x_33, 1, x_28);
x_34 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4;
x_35 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_35, 0, x_6);
x_36 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_36, 0, x_34);
lean_ctor_set(x_36, 1, x_35);
x_37 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_37, 0, x_36);
lean_ctor_set(x_37, 1, x_28);
x_38 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5;
x_39 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_39, 0, x_7);
x_40 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_40, 0, x_38);
lean_ctor_set(x_40, 1, x_39);
x_41 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_41, 0, x_40);
lean_ctor_set(x_41, 1, x_28);
x_42 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6;
x_43 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_43, 0, x_8);
x_44 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_44, 0, x_42);
lean_ctor_set(x_44, 1, x_43);
x_45 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_28);
x_46 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7;
x_47 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_47, 0, x_9);
x_48 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_48, 0, x_46);
lean_ctor_set(x_48, 1, x_47);
x_49 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_28);
x_50 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8;
x_51 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_51, 0, x_10);
x_52 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_52, 0, x_50);
lean_ctor_set(x_52, 1, x_51);
x_53 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_28);
x_54 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9;
x_55 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_55, 0, x_11);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_54);
lean_ctor_set(x_56, 1, x_55);
x_57 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_57, 0, x_56);
lean_ctor_set(x_57, 1, x_28);
x_58 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10;
x_59 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2(x_58, x_12);
lean_dec(x_12);
x_60 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11;
x_61 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_61, 0, x_13);
x_62 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_62, 0, x_60);
lean_ctor_set(x_62, 1, x_61);
x_63 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_63, 0, x_62);
lean_ctor_set(x_63, 1, x_28);
x_64 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12;
x_65 = lean_alloc_ctor(1, 0, 1);
lean_ctor_set_uint8(x_65, 0, x_14);
x_66 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_66, 0, x_64);
lean_ctor_set(x_66, 1, x_65);
x_67 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_67, 0, x_66);
lean_ctor_set(x_67, 1, x_28);
x_68 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13;
x_69 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__3(x_68, x_15);
x_70 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14;
x_71 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__4(x_70, x_16);
x_72 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15;
x_73 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__5(x_72, x_17);
lean_dec(x_17);
x_74 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16;
x_75 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__6(x_74, x_18);
x_76 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17;
x_77 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__7(x_76, x_19);
lean_dec(x_19);
x_78 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18;
x_79 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__8(x_78, x_20);
x_80 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_80, 0, x_79);
lean_ctor_set(x_80, 1, x_28);
x_81 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_81, 0, x_77);
lean_ctor_set(x_81, 1, x_80);
x_82 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_82, 0, x_75);
lean_ctor_set(x_82, 1, x_81);
x_83 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_83, 0, x_73);
lean_ctor_set(x_83, 1, x_82);
x_84 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_84, 0, x_71);
lean_ctor_set(x_84, 1, x_83);
x_85 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_85, 0, x_69);
lean_ctor_set(x_85, 1, x_84);
x_86 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_86, 0, x_67);
lean_ctor_set(x_86, 1, x_85);
x_87 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_87, 0, x_63);
lean_ctor_set(x_87, 1, x_86);
x_88 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_88, 0, x_59);
lean_ctor_set(x_88, 1, x_87);
x_89 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_89, 0, x_57);
lean_ctor_set(x_89, 1, x_88);
x_90 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_90, 0, x_53);
lean_ctor_set(x_90, 1, x_89);
x_91 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_91, 0, x_49);
lean_ctor_set(x_91, 1, x_90);
x_92 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_92, 0, x_45);
lean_ctor_set(x_92, 1, x_91);
x_93 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_93, 0, x_41);
lean_ctor_set(x_93, 1, x_92);
x_94 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_94, 0, x_37);
lean_ctor_set(x_94, 1, x_93);
x_95 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_95, 0, x_33);
lean_ctor_set(x_95, 1, x_94);
x_96 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_96, 0, x_29);
lean_ctor_set(x_96, 1, x_95);
x_97 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_97, 0, x_24);
lean_ctor_set(x_97, 1, x_96);
x_98 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_98, 0, x_22);
lean_ctor_set(x_98, 1, x_97);
x_99 = l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1;
x_100 = l___private_Init_Data_List_Impl_0__List_flatMapTR_go___at___00Lean_Lsp_instToJsonCompletionItemCapabilities_toJson_spec__1(x_98, x_99);
x_101 = l_Lean_Json_mkObj(x_100);
return x_101;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__0(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__2(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__5___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__5(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__7___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_opt___at___00Lean_Lsp_instToJsonServerCapabilities_toJson_spec__7(x_1, x_2);
lean_dec(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonServerCapabilities_toJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities___closed__0;
return x_1;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonTextDocumentSyncOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonInlayHintOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonSignatureHelpOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14_spec__14(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonDocumentColorOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14_spec__14(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonCompletionOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4_spec__4(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonRenameOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4_spec__4(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonSemanticTokensOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6(x_3);
return x_4;
}
}
static lean_object* _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_2; 
x_2 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8___closed__0;
return x_2;
}
else
{
lean_object* x_3; 
x_3 = l_Lean_Lsp_instFromJsonCodeActionOptions_fromJson(x_1);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; 
x_5 = lean_ctor_get(x_3, 0);
lean_inc(x_5);
lean_dec(x_3);
x_6 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_6, 0, x_5);
return x_6;
}
}
else
{
uint8_t x_7; 
x_7 = !lean_is_exclusive(x_3);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; 
x_8 = lean_ctor_get(x_3, 0);
x_9 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_9, 0, x_8);
lean_ctor_set(x_3, 0, x_9);
return x_3;
}
else
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_3, 0);
lean_inc(x_10);
lean_dec(x_3);
x_11 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_11, 0, x_10);
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_11);
return x_12;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = l_Lean_Json_getObjValD(x_1, x_2);
x_4 = l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8(x_3);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("ServerCapabilities", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__0;
x_2 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1;
x_3 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0;
x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__1;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("textDocumentSync\?", 17, 17);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__6() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__5;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__6;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__7;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("completionProvider\?", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__11() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__10;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__12;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__15() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__14;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__15;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__16;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__19() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__18;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__19;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__20;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__22() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__22;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__24() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__24;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__27() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__28() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__27;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__28;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__30() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__31() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__30;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__32() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__31;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__32;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__34() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__35() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__34;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__36() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__35;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__36;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__38() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__39() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__38;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__39;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__42() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__43() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__42;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__44() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__43;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__44;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__46() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("renameProvider\?", 15, 15);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__47() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__46;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__48() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__47;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__48;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__51() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__52() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__51;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__53() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__52;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__53;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__55() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__56() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__55;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__57() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__56;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__57;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__59() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("semanticTokensProvider\?", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__59;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__62() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__62;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__64() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("codeActionProvider\?", 19, 19);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__65() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__64;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__66() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__65;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__67() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__66;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__67;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__69() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("inlayHintProvider\?", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__70() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__69;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__70;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__72() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__72;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("signatureHelpProvider\?", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__75() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__76() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__75;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__77() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__76;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__77;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__79() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("colorProvider\?", 14, 14);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__80() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__79;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__81() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__80;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__82() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__81;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__82;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__84() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("experimental\?", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__85() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__84;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__86() {
_start:
{
uint8_t x_1; lean_object* x_2; lean_object* x_3; 
x_1 = 1;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__85;
x_3 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__87() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__86;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11;
x_2 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__87;
x_3 = lean_string_append(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities_fromJson(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; 
x_2 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0;
lean_inc(x_1);
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_4; 
lean_dec(x_1);
x_4 = !lean_is_exclusive(x_3);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_3, 0);
x_6 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8;
x_7 = lean_string_append(x_6, x_5);
lean_dec(x_5);
lean_ctor_set(x_3, 0, x_7);
return x_3;
}
else
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_8 = lean_ctor_get(x_3, 0);
lean_inc(x_8);
lean_dec(x_3);
x_9 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8;
x_10 = lean_string_append(x_9, x_8);
lean_dec(x_8);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
}
else
{
if (lean_obj_tag(x_3) == 0)
{
uint8_t x_12; 
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_3);
if (x_12 == 0)
{
lean_ctor_set_tag(x_3, 0);
return x_3;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_3, 0);
lean_inc(x_13);
lean_dec(x_3);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
else
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_15 = lean_ctor_get(x_3, 0);
lean_inc(x_15);
lean_dec_ref(x_3);
x_16 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1;
lean_inc(x_1);
x_17 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2(x_1, x_16);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
lean_dec(x_15);
lean_dec(x_1);
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_19 = lean_ctor_get(x_17, 0);
x_20 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13;
x_21 = lean_string_append(x_20, x_19);
lean_dec(x_19);
lean_ctor_set(x_17, 0, x_21);
return x_17;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_22 = lean_ctor_get(x_17, 0);
lean_inc(x_22);
lean_dec(x_17);
x_23 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13;
x_24 = lean_string_append(x_23, x_22);
lean_dec(x_22);
x_25 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_25, 0, x_24);
return x_25;
}
}
else
{
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_26; 
lean_dec(x_15);
lean_dec(x_1);
x_26 = !lean_is_exclusive(x_17);
if (x_26 == 0)
{
lean_ctor_set_tag(x_17, 0);
return x_17;
}
else
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_17, 0);
lean_inc(x_27);
lean_dec(x_17);
x_28 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_28, 0, x_27);
return x_28;
}
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; 
x_29 = lean_ctor_get(x_17, 0);
lean_inc(x_29);
lean_dec_ref(x_17);
x_30 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2;
lean_inc(x_1);
x_31 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_30);
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_32; 
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_32 = !lean_is_exclusive(x_31);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; 
x_33 = lean_ctor_get(x_31, 0);
x_34 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17;
x_35 = lean_string_append(x_34, x_33);
lean_dec(x_33);
lean_ctor_set(x_31, 0, x_35);
return x_31;
}
else
{
lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_31, 0);
lean_inc(x_36);
lean_dec(x_31);
x_37 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17;
x_38 = lean_string_append(x_37, x_36);
lean_dec(x_36);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
}
else
{
if (lean_obj_tag(x_31) == 0)
{
uint8_t x_40; 
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_40 = !lean_is_exclusive(x_31);
if (x_40 == 0)
{
lean_ctor_set_tag(x_31, 0);
return x_31;
}
else
{
lean_object* x_41; lean_object* x_42; 
x_41 = lean_ctor_get(x_31, 0);
lean_inc(x_41);
lean_dec(x_31);
x_42 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
}
else
{
lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_43 = lean_ctor_get(x_31, 0);
lean_inc(x_43);
lean_dec_ref(x_31);
x_44 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3;
lean_inc(x_1);
x_45 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_44);
if (lean_obj_tag(x_45) == 0)
{
uint8_t x_46; 
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_46 = !lean_is_exclusive(x_45);
if (x_46 == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; 
x_47 = lean_ctor_get(x_45, 0);
x_48 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21;
x_49 = lean_string_append(x_48, x_47);
lean_dec(x_47);
lean_ctor_set(x_45, 0, x_49);
return x_45;
}
else
{
lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_50 = lean_ctor_get(x_45, 0);
lean_inc(x_50);
lean_dec(x_45);
x_51 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21;
x_52 = lean_string_append(x_51, x_50);
lean_dec(x_50);
x_53 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_53, 0, x_52);
return x_53;
}
}
else
{
if (lean_obj_tag(x_45) == 0)
{
uint8_t x_54; 
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_54 = !lean_is_exclusive(x_45);
if (x_54 == 0)
{
lean_ctor_set_tag(x_45, 0);
return x_45;
}
else
{
lean_object* x_55; lean_object* x_56; 
x_55 = lean_ctor_get(x_45, 0);
lean_inc(x_55);
lean_dec(x_45);
x_56 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_56, 0, x_55);
return x_56;
}
}
else
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; 
x_57 = lean_ctor_get(x_45, 0);
lean_inc(x_57);
lean_dec_ref(x_45);
x_58 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4;
lean_inc(x_1);
x_59 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_58);
if (lean_obj_tag(x_59) == 0)
{
uint8_t x_60; 
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_60 = !lean_is_exclusive(x_59);
if (x_60 == 0)
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
x_61 = lean_ctor_get(x_59, 0);
x_62 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25;
x_63 = lean_string_append(x_62, x_61);
lean_dec(x_61);
lean_ctor_set(x_59, 0, x_63);
return x_59;
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; 
x_64 = lean_ctor_get(x_59, 0);
lean_inc(x_64);
lean_dec(x_59);
x_65 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25;
x_66 = lean_string_append(x_65, x_64);
lean_dec(x_64);
x_67 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_67, 0, x_66);
return x_67;
}
}
else
{
if (lean_obj_tag(x_59) == 0)
{
uint8_t x_68; 
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_68 = !lean_is_exclusive(x_59);
if (x_68 == 0)
{
lean_ctor_set_tag(x_59, 0);
return x_59;
}
else
{
lean_object* x_69; lean_object* x_70; 
x_69 = lean_ctor_get(x_59, 0);
lean_inc(x_69);
lean_dec(x_59);
x_70 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; 
x_71 = lean_ctor_get(x_59, 0);
lean_inc(x_71);
lean_dec_ref(x_59);
x_72 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5;
lean_inc(x_1);
x_73 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_72);
if (lean_obj_tag(x_73) == 0)
{
uint8_t x_74; 
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_74 = !lean_is_exclusive(x_73);
if (x_74 == 0)
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; 
x_75 = lean_ctor_get(x_73, 0);
x_76 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29;
x_77 = lean_string_append(x_76, x_75);
lean_dec(x_75);
lean_ctor_set(x_73, 0, x_77);
return x_73;
}
else
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; 
x_78 = lean_ctor_get(x_73, 0);
lean_inc(x_78);
lean_dec(x_73);
x_79 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29;
x_80 = lean_string_append(x_79, x_78);
lean_dec(x_78);
x_81 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_81, 0, x_80);
return x_81;
}
}
else
{
if (lean_obj_tag(x_73) == 0)
{
uint8_t x_82; 
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_82 = !lean_is_exclusive(x_73);
if (x_82 == 0)
{
lean_ctor_set_tag(x_73, 0);
return x_73;
}
else
{
lean_object* x_83; lean_object* x_84; 
x_83 = lean_ctor_get(x_73, 0);
lean_inc(x_83);
lean_dec(x_73);
x_84 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_84, 0, x_83);
return x_84;
}
}
else
{
lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_85 = lean_ctor_get(x_73, 0);
lean_inc(x_85);
lean_dec_ref(x_73);
x_86 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6;
lean_inc(x_1);
x_87 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_86);
if (lean_obj_tag(x_87) == 0)
{
uint8_t x_88; 
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_88 = !lean_is_exclusive(x_87);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; 
x_89 = lean_ctor_get(x_87, 0);
x_90 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33;
x_91 = lean_string_append(x_90, x_89);
lean_dec(x_89);
lean_ctor_set(x_87, 0, x_91);
return x_87;
}
else
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; 
x_92 = lean_ctor_get(x_87, 0);
lean_inc(x_92);
lean_dec(x_87);
x_93 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33;
x_94 = lean_string_append(x_93, x_92);
lean_dec(x_92);
x_95 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_95, 0, x_94);
return x_95;
}
}
else
{
if (lean_obj_tag(x_87) == 0)
{
uint8_t x_96; 
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_96 = !lean_is_exclusive(x_87);
if (x_96 == 0)
{
lean_ctor_set_tag(x_87, 0);
return x_87;
}
else
{
lean_object* x_97; lean_object* x_98; 
x_97 = lean_ctor_get(x_87, 0);
lean_inc(x_97);
lean_dec(x_87);
x_98 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_98, 0, x_97);
return x_98;
}
}
else
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; 
x_99 = lean_ctor_get(x_87, 0);
lean_inc(x_99);
lean_dec_ref(x_87);
x_100 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7;
lean_inc(x_1);
x_101 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_100);
if (lean_obj_tag(x_101) == 0)
{
uint8_t x_102; 
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_102 = !lean_is_exclusive(x_101);
if (x_102 == 0)
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; 
x_103 = lean_ctor_get(x_101, 0);
x_104 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37;
x_105 = lean_string_append(x_104, x_103);
lean_dec(x_103);
lean_ctor_set(x_101, 0, x_105);
return x_101;
}
else
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; 
x_106 = lean_ctor_get(x_101, 0);
lean_inc(x_106);
lean_dec(x_101);
x_107 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37;
x_108 = lean_string_append(x_107, x_106);
lean_dec(x_106);
x_109 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_109, 0, x_108);
return x_109;
}
}
else
{
if (lean_obj_tag(x_101) == 0)
{
uint8_t x_110; 
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_110 = !lean_is_exclusive(x_101);
if (x_110 == 0)
{
lean_ctor_set_tag(x_101, 0);
return x_101;
}
else
{
lean_object* x_111; lean_object* x_112; 
x_111 = lean_ctor_get(x_101, 0);
lean_inc(x_111);
lean_dec(x_101);
x_112 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_112, 0, x_111);
return x_112;
}
}
else
{
lean_object* x_113; lean_object* x_114; lean_object* x_115; 
x_113 = lean_ctor_get(x_101, 0);
lean_inc(x_113);
lean_dec_ref(x_101);
x_114 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8;
lean_inc(x_1);
x_115 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_114);
if (lean_obj_tag(x_115) == 0)
{
uint8_t x_116; 
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_116 = !lean_is_exclusive(x_115);
if (x_116 == 0)
{
lean_object* x_117; lean_object* x_118; lean_object* x_119; 
x_117 = lean_ctor_get(x_115, 0);
x_118 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41;
x_119 = lean_string_append(x_118, x_117);
lean_dec(x_117);
lean_ctor_set(x_115, 0, x_119);
return x_115;
}
else
{
lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; 
x_120 = lean_ctor_get(x_115, 0);
lean_inc(x_120);
lean_dec(x_115);
x_121 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41;
x_122 = lean_string_append(x_121, x_120);
lean_dec(x_120);
x_123 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_123, 0, x_122);
return x_123;
}
}
else
{
if (lean_obj_tag(x_115) == 0)
{
uint8_t x_124; 
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_124 = !lean_is_exclusive(x_115);
if (x_124 == 0)
{
lean_ctor_set_tag(x_115, 0);
return x_115;
}
else
{
lean_object* x_125; lean_object* x_126; 
x_125 = lean_ctor_get(x_115, 0);
lean_inc(x_125);
lean_dec(x_115);
x_126 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_126, 0, x_125);
return x_126;
}
}
else
{
lean_object* x_127; lean_object* x_128; lean_object* x_129; 
x_127 = lean_ctor_get(x_115, 0);
lean_inc(x_127);
lean_dec_ref(x_115);
x_128 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9;
lean_inc(x_1);
x_129 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_128);
if (lean_obj_tag(x_129) == 0)
{
uint8_t x_130; 
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_130 = !lean_is_exclusive(x_129);
if (x_130 == 0)
{
lean_object* x_131; lean_object* x_132; lean_object* x_133; 
x_131 = lean_ctor_get(x_129, 0);
x_132 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45;
x_133 = lean_string_append(x_132, x_131);
lean_dec(x_131);
lean_ctor_set(x_129, 0, x_133);
return x_129;
}
else
{
lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; 
x_134 = lean_ctor_get(x_129, 0);
lean_inc(x_134);
lean_dec(x_129);
x_135 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45;
x_136 = lean_string_append(x_135, x_134);
lean_dec(x_134);
x_137 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_137, 0, x_136);
return x_137;
}
}
else
{
if (lean_obj_tag(x_129) == 0)
{
uint8_t x_138; 
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_138 = !lean_is_exclusive(x_129);
if (x_138 == 0)
{
lean_ctor_set_tag(x_129, 0);
return x_129;
}
else
{
lean_object* x_139; lean_object* x_140; 
x_139 = lean_ctor_get(x_129, 0);
lean_inc(x_139);
lean_dec(x_129);
x_140 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_140, 0, x_139);
return x_140;
}
}
else
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; 
x_141 = lean_ctor_get(x_129, 0);
lean_inc(x_141);
lean_dec_ref(x_129);
x_142 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10;
lean_inc(x_1);
x_143 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4(x_1, x_142);
if (lean_obj_tag(x_143) == 0)
{
uint8_t x_144; 
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_144 = !lean_is_exclusive(x_143);
if (x_144 == 0)
{
lean_object* x_145; lean_object* x_146; lean_object* x_147; 
x_145 = lean_ctor_get(x_143, 0);
x_146 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50;
x_147 = lean_string_append(x_146, x_145);
lean_dec(x_145);
lean_ctor_set(x_143, 0, x_147);
return x_143;
}
else
{
lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; 
x_148 = lean_ctor_get(x_143, 0);
lean_inc(x_148);
lean_dec(x_143);
x_149 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50;
x_150 = lean_string_append(x_149, x_148);
lean_dec(x_148);
x_151 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_151, 0, x_150);
return x_151;
}
}
else
{
if (lean_obj_tag(x_143) == 0)
{
uint8_t x_152; 
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_152 = !lean_is_exclusive(x_143);
if (x_152 == 0)
{
lean_ctor_set_tag(x_143, 0);
return x_143;
}
else
{
lean_object* x_153; lean_object* x_154; 
x_153 = lean_ctor_get(x_143, 0);
lean_inc(x_153);
lean_dec(x_143);
x_154 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_154, 0, x_153);
return x_154;
}
}
else
{
lean_object* x_155; lean_object* x_156; lean_object* x_157; 
x_155 = lean_ctor_get(x_143, 0);
lean_inc(x_155);
lean_dec_ref(x_143);
x_156 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11;
lean_inc(x_1);
x_157 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_156);
if (lean_obj_tag(x_157) == 0)
{
uint8_t x_158; 
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_158 = !lean_is_exclusive(x_157);
if (x_158 == 0)
{
lean_object* x_159; lean_object* x_160; lean_object* x_161; 
x_159 = lean_ctor_get(x_157, 0);
x_160 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54;
x_161 = lean_string_append(x_160, x_159);
lean_dec(x_159);
lean_ctor_set(x_157, 0, x_161);
return x_157;
}
else
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; 
x_162 = lean_ctor_get(x_157, 0);
lean_inc(x_162);
lean_dec(x_157);
x_163 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54;
x_164 = lean_string_append(x_163, x_162);
lean_dec(x_162);
x_165 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_165, 0, x_164);
return x_165;
}
}
else
{
if (lean_obj_tag(x_157) == 0)
{
uint8_t x_166; 
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_166 = !lean_is_exclusive(x_157);
if (x_166 == 0)
{
lean_ctor_set_tag(x_157, 0);
return x_157;
}
else
{
lean_object* x_167; lean_object* x_168; 
x_167 = lean_ctor_get(x_157, 0);
lean_inc(x_167);
lean_dec(x_157);
x_168 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_168, 0, x_167);
return x_168;
}
}
else
{
lean_object* x_169; lean_object* x_170; lean_object* x_171; 
x_169 = lean_ctor_get(x_157, 0);
lean_inc(x_169);
lean_dec_ref(x_157);
x_170 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12;
lean_inc(x_1);
x_171 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson_spec__0(x_1, x_170);
if (lean_obj_tag(x_171) == 0)
{
uint8_t x_172; 
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_172 = !lean_is_exclusive(x_171);
if (x_172 == 0)
{
lean_object* x_173; lean_object* x_174; lean_object* x_175; 
x_173 = lean_ctor_get(x_171, 0);
x_174 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58;
x_175 = lean_string_append(x_174, x_173);
lean_dec(x_173);
lean_ctor_set(x_171, 0, x_175);
return x_171;
}
else
{
lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; 
x_176 = lean_ctor_get(x_171, 0);
lean_inc(x_176);
lean_dec(x_171);
x_177 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58;
x_178 = lean_string_append(x_177, x_176);
lean_dec(x_176);
x_179 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_179, 0, x_178);
return x_179;
}
}
else
{
if (lean_obj_tag(x_171) == 0)
{
uint8_t x_180; 
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_180 = !lean_is_exclusive(x_171);
if (x_180 == 0)
{
lean_ctor_set_tag(x_171, 0);
return x_171;
}
else
{
lean_object* x_181; lean_object* x_182; 
x_181 = lean_ctor_get(x_171, 0);
lean_inc(x_181);
lean_dec(x_171);
x_182 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_182, 0, x_181);
return x_182;
}
}
else
{
lean_object* x_183; lean_object* x_184; lean_object* x_185; 
x_183 = lean_ctor_get(x_171, 0);
lean_inc(x_183);
lean_dec_ref(x_171);
x_184 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13;
lean_inc(x_1);
x_185 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6(x_1, x_184);
if (lean_obj_tag(x_185) == 0)
{
uint8_t x_186; 
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_186 = !lean_is_exclusive(x_185);
if (x_186 == 0)
{
lean_object* x_187; lean_object* x_188; lean_object* x_189; 
x_187 = lean_ctor_get(x_185, 0);
x_188 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63;
x_189 = lean_string_append(x_188, x_187);
lean_dec(x_187);
lean_ctor_set(x_185, 0, x_189);
return x_185;
}
else
{
lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; 
x_190 = lean_ctor_get(x_185, 0);
lean_inc(x_190);
lean_dec(x_185);
x_191 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63;
x_192 = lean_string_append(x_191, x_190);
lean_dec(x_190);
x_193 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_193, 0, x_192);
return x_193;
}
}
else
{
if (lean_obj_tag(x_185) == 0)
{
uint8_t x_194; 
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_194 = !lean_is_exclusive(x_185);
if (x_194 == 0)
{
lean_ctor_set_tag(x_185, 0);
return x_185;
}
else
{
lean_object* x_195; lean_object* x_196; 
x_195 = lean_ctor_get(x_185, 0);
lean_inc(x_195);
lean_dec(x_185);
x_196 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_196, 0, x_195);
return x_196;
}
}
else
{
lean_object* x_197; lean_object* x_198; lean_object* x_199; 
x_197 = lean_ctor_get(x_185, 0);
lean_inc(x_197);
lean_dec_ref(x_185);
x_198 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14;
lean_inc(x_1);
x_199 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8(x_1, x_198);
if (lean_obj_tag(x_199) == 0)
{
uint8_t x_200; 
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_200 = !lean_is_exclusive(x_199);
if (x_200 == 0)
{
lean_object* x_201; lean_object* x_202; lean_object* x_203; 
x_201 = lean_ctor_get(x_199, 0);
x_202 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68;
x_203 = lean_string_append(x_202, x_201);
lean_dec(x_201);
lean_ctor_set(x_199, 0, x_203);
return x_199;
}
else
{
lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; 
x_204 = lean_ctor_get(x_199, 0);
lean_inc(x_204);
lean_dec(x_199);
x_205 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68;
x_206 = lean_string_append(x_205, x_204);
lean_dec(x_204);
x_207 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_207, 0, x_206);
return x_207;
}
}
else
{
if (lean_obj_tag(x_199) == 0)
{
uint8_t x_208; 
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_208 = !lean_is_exclusive(x_199);
if (x_208 == 0)
{
lean_ctor_set_tag(x_199, 0);
return x_199;
}
else
{
lean_object* x_209; lean_object* x_210; 
x_209 = lean_ctor_get(x_199, 0);
lean_inc(x_209);
lean_dec(x_199);
x_210 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_210, 0, x_209);
return x_210;
}
}
else
{
lean_object* x_211; lean_object* x_212; lean_object* x_213; 
x_211 = lean_ctor_get(x_199, 0);
lean_inc(x_211);
lean_dec_ref(x_199);
x_212 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15;
lean_inc(x_1);
x_213 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10(x_1, x_212);
if (lean_obj_tag(x_213) == 0)
{
uint8_t x_214; 
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_214 = !lean_is_exclusive(x_213);
if (x_214 == 0)
{
lean_object* x_215; lean_object* x_216; lean_object* x_217; 
x_215 = lean_ctor_get(x_213, 0);
x_216 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73;
x_217 = lean_string_append(x_216, x_215);
lean_dec(x_215);
lean_ctor_set(x_213, 0, x_217);
return x_213;
}
else
{
lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; 
x_218 = lean_ctor_get(x_213, 0);
lean_inc(x_218);
lean_dec(x_213);
x_219 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73;
x_220 = lean_string_append(x_219, x_218);
lean_dec(x_218);
x_221 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_221, 0, x_220);
return x_221;
}
}
else
{
if (lean_obj_tag(x_213) == 0)
{
uint8_t x_222; 
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_222 = !lean_is_exclusive(x_213);
if (x_222 == 0)
{
lean_ctor_set_tag(x_213, 0);
return x_213;
}
else
{
lean_object* x_223; lean_object* x_224; 
x_223 = lean_ctor_get(x_213, 0);
lean_inc(x_223);
lean_dec(x_213);
x_224 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_224, 0, x_223);
return x_224;
}
}
else
{
lean_object* x_225; lean_object* x_226; lean_object* x_227; 
x_225 = lean_ctor_get(x_213, 0);
lean_inc(x_225);
lean_dec_ref(x_213);
x_226 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16;
lean_inc(x_1);
x_227 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12(x_1, x_226);
if (lean_obj_tag(x_227) == 0)
{
uint8_t x_228; 
lean_dec(x_225);
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_228 = !lean_is_exclusive(x_227);
if (x_228 == 0)
{
lean_object* x_229; lean_object* x_230; lean_object* x_231; 
x_229 = lean_ctor_get(x_227, 0);
x_230 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78;
x_231 = lean_string_append(x_230, x_229);
lean_dec(x_229);
lean_ctor_set(x_227, 0, x_231);
return x_227;
}
else
{
lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; 
x_232 = lean_ctor_get(x_227, 0);
lean_inc(x_232);
lean_dec(x_227);
x_233 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78;
x_234 = lean_string_append(x_233, x_232);
lean_dec(x_232);
x_235 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_235, 0, x_234);
return x_235;
}
}
else
{
if (lean_obj_tag(x_227) == 0)
{
uint8_t x_236; 
lean_dec(x_225);
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_236 = !lean_is_exclusive(x_227);
if (x_236 == 0)
{
lean_ctor_set_tag(x_227, 0);
return x_227;
}
else
{
lean_object* x_237; lean_object* x_238; 
x_237 = lean_ctor_get(x_227, 0);
lean_inc(x_237);
lean_dec(x_227);
x_238 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_238, 0, x_237);
return x_238;
}
}
else
{
lean_object* x_239; lean_object* x_240; lean_object* x_241; 
x_239 = lean_ctor_get(x_227, 0);
lean_inc(x_239);
lean_dec_ref(x_227);
x_240 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17;
lean_inc(x_1);
x_241 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14(x_1, x_240);
if (lean_obj_tag(x_241) == 0)
{
uint8_t x_242; 
lean_dec(x_239);
lean_dec(x_225);
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_242 = !lean_is_exclusive(x_241);
if (x_242 == 0)
{
lean_object* x_243; lean_object* x_244; lean_object* x_245; 
x_243 = lean_ctor_get(x_241, 0);
x_244 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83;
x_245 = lean_string_append(x_244, x_243);
lean_dec(x_243);
lean_ctor_set(x_241, 0, x_245);
return x_241;
}
else
{
lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; 
x_246 = lean_ctor_get(x_241, 0);
lean_inc(x_246);
lean_dec(x_241);
x_247 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83;
x_248 = lean_string_append(x_247, x_246);
lean_dec(x_246);
x_249 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_249, 0, x_248);
return x_249;
}
}
else
{
if (lean_obj_tag(x_241) == 0)
{
uint8_t x_250; 
lean_dec(x_239);
lean_dec(x_225);
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
lean_dec(x_1);
x_250 = !lean_is_exclusive(x_241);
if (x_250 == 0)
{
lean_ctor_set_tag(x_241, 0);
return x_241;
}
else
{
lean_object* x_251; lean_object* x_252; 
x_251 = lean_ctor_get(x_241, 0);
lean_inc(x_251);
lean_dec(x_241);
x_252 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_252, 0, x_251);
return x_252;
}
}
else
{
lean_object* x_253; lean_object* x_254; lean_object* x_255; 
x_253 = lean_ctor_get(x_241, 0);
lean_inc(x_253);
lean_dec_ref(x_241);
x_254 = l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18;
x_255 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16(x_1, x_254);
if (lean_obj_tag(x_255) == 0)
{
uint8_t x_256; 
lean_dec(x_253);
lean_dec(x_239);
lean_dec(x_225);
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
x_256 = !lean_is_exclusive(x_255);
if (x_256 == 0)
{
lean_object* x_257; lean_object* x_258; lean_object* x_259; 
x_257 = lean_ctor_get(x_255, 0);
x_258 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88;
x_259 = lean_string_append(x_258, x_257);
lean_dec(x_257);
lean_ctor_set(x_255, 0, x_259);
return x_255;
}
else
{
lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; 
x_260 = lean_ctor_get(x_255, 0);
lean_inc(x_260);
lean_dec(x_255);
x_261 = l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88;
x_262 = lean_string_append(x_261, x_260);
lean_dec(x_260);
x_263 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_263, 0, x_262);
return x_263;
}
}
else
{
if (lean_obj_tag(x_255) == 0)
{
uint8_t x_264; 
lean_dec(x_253);
lean_dec(x_239);
lean_dec(x_225);
lean_dec(x_211);
lean_dec(x_197);
lean_dec(x_183);
lean_dec(x_169);
lean_dec(x_155);
lean_dec(x_141);
lean_dec(x_127);
lean_dec(x_113);
lean_dec(x_99);
lean_dec(x_85);
lean_dec(x_71);
lean_dec(x_57);
lean_dec(x_43);
lean_dec(x_29);
lean_dec(x_15);
x_264 = !lean_is_exclusive(x_255);
if (x_264 == 0)
{
lean_ctor_set_tag(x_255, 0);
return x_255;
}
else
{
lean_object* x_265; lean_object* x_266; 
x_265 = lean_ctor_get(x_255, 0);
lean_inc(x_265);
lean_dec(x_255);
x_266 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_266, 0, x_265);
return x_266;
}
}
else
{
uint8_t x_267; 
x_267 = !lean_is_exclusive(x_255);
if (x_267 == 0)
{
lean_object* x_268; lean_object* x_269; uint8_t x_270; uint8_t x_271; uint8_t x_272; uint8_t x_273; uint8_t x_274; uint8_t x_275; uint8_t x_276; uint8_t x_277; uint8_t x_278; uint8_t x_279; 
x_268 = lean_ctor_get(x_255, 0);
x_269 = lean_alloc_ctor(0, 9, 10);
lean_ctor_set(x_269, 0, x_15);
lean_ctor_set(x_269, 1, x_29);
lean_ctor_set(x_269, 2, x_155);
lean_ctor_set(x_269, 3, x_197);
lean_ctor_set(x_269, 4, x_211);
lean_ctor_set(x_269, 5, x_225);
lean_ctor_set(x_269, 6, x_239);
lean_ctor_set(x_269, 7, x_253);
lean_ctor_set(x_269, 8, x_268);
x_270 = lean_unbox(x_43);
lean_dec(x_43);
lean_ctor_set_uint8(x_269, sizeof(void*)*9, x_270);
x_271 = lean_unbox(x_57);
lean_dec(x_57);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 1, x_271);
x_272 = lean_unbox(x_71);
lean_dec(x_71);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 2, x_272);
x_273 = lean_unbox(x_85);
lean_dec(x_85);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 3, x_273);
x_274 = lean_unbox(x_99);
lean_dec(x_99);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 4, x_274);
x_275 = lean_unbox(x_113);
lean_dec(x_113);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 5, x_275);
x_276 = lean_unbox(x_127);
lean_dec(x_127);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 6, x_276);
x_277 = lean_unbox(x_141);
lean_dec(x_141);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 7, x_277);
x_278 = lean_unbox(x_169);
lean_dec(x_169);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 8, x_278);
x_279 = lean_unbox(x_183);
lean_dec(x_183);
lean_ctor_set_uint8(x_269, sizeof(void*)*9 + 9, x_279);
lean_ctor_set(x_255, 0, x_269);
return x_255;
}
else
{
lean_object* x_280; lean_object* x_281; uint8_t x_282; uint8_t x_283; uint8_t x_284; uint8_t x_285; uint8_t x_286; uint8_t x_287; uint8_t x_288; uint8_t x_289; uint8_t x_290; uint8_t x_291; lean_object* x_292; 
x_280 = lean_ctor_get(x_255, 0);
lean_inc(x_280);
lean_dec(x_255);
x_281 = lean_alloc_ctor(0, 9, 10);
lean_ctor_set(x_281, 0, x_15);
lean_ctor_set(x_281, 1, x_29);
lean_ctor_set(x_281, 2, x_155);
lean_ctor_set(x_281, 3, x_197);
lean_ctor_set(x_281, 4, x_211);
lean_ctor_set(x_281, 5, x_225);
lean_ctor_set(x_281, 6, x_239);
lean_ctor_set(x_281, 7, x_253);
lean_ctor_set(x_281, 8, x_280);
x_282 = lean_unbox(x_43);
lean_dec(x_43);
lean_ctor_set_uint8(x_281, sizeof(void*)*9, x_282);
x_283 = lean_unbox(x_57);
lean_dec(x_57);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 1, x_283);
x_284 = lean_unbox(x_71);
lean_dec(x_71);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 2, x_284);
x_285 = lean_unbox(x_85);
lean_dec(x_85);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 3, x_285);
x_286 = lean_unbox(x_99);
lean_dec(x_99);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 4, x_286);
x_287 = lean_unbox(x_113);
lean_dec(x_113);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 5, x_287);
x_288 = lean_unbox(x_127);
lean_dec(x_127);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 6, x_288);
x_289 = lean_unbox(x_141);
lean_dec(x_141);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 7, x_289);
x_290 = lean_unbox(x_169);
lean_dec(x_169);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 8, x_290);
x_291 = lean_unbox(x_183);
lean_dec(x_183);
lean_ctor_set_uint8(x_281, sizeof(void*)*9 + 9, x_291);
x_292 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_292, 0, x_281);
return x_292;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__14(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__4(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8(x_1, x_2);
lean_dec_ref(x_2);
return x_3;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson), 1, 0);
return x_1;
}
}
static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_Lsp_instFromJsonServerCapabilities___closed__0;
return x_1;
}
}
lean_object* initialize_Lean_Data_JsonRpc(uint8_t builtin);
lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin);
lean_object* initialize_Lean_Data_Lsp_CodeActions(uint8_t builtin);
lean_object* initialize_Lean_Data_Lsp_Extra(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Data_Lsp_Capabilities(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Data_JsonRpc(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Lsp_LanguageFeatures(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Lsp_CodeActions(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Data_Lsp_Extra(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemCapabilities_toJson___closed__1);
l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__0);
l_Lean_Lsp_instToJsonCompletionItemCapabilities = _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__0);
l_Lean_Lsp_instFromJsonCompletionItemCapabilities = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities);
l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonCompletionClientCapabilities = _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionClientCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonCompletionClientCapabilities = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities);
l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__1);
l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2 = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities_toJson___closed__2);
l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonTextDocumentClientCapabilities = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__2_spec__2___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson_spec__4_spec__4___closed__0);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__14);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__15);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__16 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__16();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__16);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__17 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__17();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__17);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities_fromJson___closed__18);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities);
l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonShowDocumentClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonShowDocumentClientCapabilities = _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonShowDocumentClientCapabilities);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities = _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities);
l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonWindowClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonWindowClientCapabilities = _init_l_Lean_Lsp_instToJsonWindowClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonWindowClientCapabilities);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonWindowClientCapabilities = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities);
l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotationSupport_toJson___closed__0);
l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__0 = _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__0);
l_Lean_Lsp_instToJsonChangeAnnotationSupport = _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport();
lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotationSupport);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__0);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__1);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__2);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__3);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__4);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__5);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__6);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__7);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport_fromJson___closed__8);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__0 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__0);
l_Lean_Lsp_instFromJsonChangeAnnotationSupport = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport();
lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport);
l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__1);
l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2 = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities_toJson___closed__2);
l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2___closed__0);
l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__0 = _init_l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__0();
lean_mark_persistent(l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__0);
l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__1 = _init_l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__1();
lean_mark_persistent(l_Array_fromJson_x3f___at___00Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson_spec__2_spec__2_spec__2___closed__1);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__14);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__15);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__16 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__16();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__16);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__17 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__17();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__17);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities_fromJson___closed__18);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities);
l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities_toJson___closed__1);
l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonWorkspaceClientCapabilities = _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities);
l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonLeanClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonLeanClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonLeanClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonLeanClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonLeanClientCapabilities = _init_l_Lean_Lsp_instToJsonLeanClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonLeanClientCapabilities);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonLeanClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonLeanClientCapabilities = _init_l_Lean_Lsp_instFromJsonLeanClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanClientCapabilities);
l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__1);
l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2 = _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__2);
l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3 = _init_l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities_toJson___closed__3);
l_Lean_Lsp_instToJsonClientCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities___closed__0);
l_Lean_Lsp_instToJsonClientCapabilities = _init_l_Lean_Lsp_instToJsonClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonClientCapabilities_fromJson_spec__4_spec__4___closed__0);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__14);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__15);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__16 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__16();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__16);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__17 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__17();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__17);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__18);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__19 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__19();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__19);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__20 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__20();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__20);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__21 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__21();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__21);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__22 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__22();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__22);
l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23 = _init_l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities_fromJson___closed__23);
l_Lean_Lsp_instFromJsonClientCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonClientCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities___closed__0);
l_Lean_Lsp_instFromJsonClientCapabilities = _init_l_Lean_Lsp_instFromJsonClientCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonClientCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson_spec__2_spec__2___closed__0);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__14);
l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities_fromJson___closed__15);
l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities___closed__0);
l_Lean_Lsp_instFromJsonLeanServerCapabilities = _init_l_Lean_Lsp_instFromJsonLeanServerCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonLeanServerCapabilities);
l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonLeanServerCapabilities___closed__0);
l_Lean_Lsp_instToJsonLeanServerCapabilities = _init_l_Lean_Lsp_instToJsonLeanServerCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonLeanServerCapabilities);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__0);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__1);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__2);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__3);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__4);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__5);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__6);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__7);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__8);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__9);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__10);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__11);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__12);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__13);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__14);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__15);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__16);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__17);
l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18 = _init_l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities_toJson___closed__18);
l_Lean_Lsp_instToJsonServerCapabilities___closed__0 = _init_l_Lean_Lsp_instToJsonServerCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities___closed__0);
l_Lean_Lsp_instToJsonServerCapabilities = _init_l_Lean_Lsp_instToJsonServerCapabilities();
lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__0_spec__0___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__10_spec__10___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__12_spec__12___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__16_spec__16___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__2_spec__2___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__6_spec__6___closed__0);
l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8___closed__0 = _init_l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8___closed__0();
lean_mark_persistent(l_Option_fromJson_x3f___at___00Lean_Json_getObjValAs_x3f___at___00Lean_Lsp_instFromJsonServerCapabilities_fromJson_spec__8_spec__8___closed__0);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__0 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__0);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__1 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__1();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__1);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__2);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__3);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__4 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__4();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__4);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__5 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__5();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__5);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__6 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__6();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__6);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__7 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__7();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__7);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__8);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__9 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__9();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__9);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__10 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__10();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__10);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__11 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__11();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__11);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__12 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__12();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__12);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__13);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__14 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__14();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__14);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__15 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__15();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__15);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__16 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__16();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__16);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__17);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__18 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__18();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__18);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__19 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__19();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__19);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__20 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__20();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__20);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__21);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__22 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__22();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__22);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__23);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__24 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__24();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__24);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__25);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__26);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__27 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__27();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__27);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__28 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__28();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__28);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__29);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__30 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__30();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__30);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__31 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__31();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__31);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__32 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__32();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__32);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__33);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__34 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__34();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__34);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__35 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__35();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__35);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__36 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__36();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__36);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__37);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__38 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__38();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__38);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__39 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__39();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__39);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__40);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__41);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__42 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__42();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__42);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__43 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__43();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__43);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__44 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__44();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__44);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__45);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__46 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__46();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__46);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__47 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__47();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__47);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__48 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__48();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__48);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__49);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__50);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__51 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__51();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__51);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__52 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__52();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__52);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__53 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__53();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__53);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__54);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__55 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__55();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__55);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__56 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__56();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__56);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__57 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__57();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__57);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__58);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__59 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__59();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__59);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__60);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__61);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__62 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__62();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__62);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__63);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__64 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__64();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__64);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__65 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__65();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__65);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__66 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__66();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__66);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__67 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__67();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__67);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__68);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__69 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__69();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__69);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__70 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__70();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__70);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__71);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__72 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__72();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__72);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__73);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__74);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__75 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__75();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__75);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__76 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__76();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__76);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__77 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__77();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__77);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__78);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__79 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__79();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__79);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__80 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__80();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__80);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__81 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__81();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__81);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__82 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__82();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__82);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__83);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__84 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__84();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__84);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__85 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__85();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__85);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__86 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__86();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__86);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__87 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__87();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__87);
l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88 = _init_l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities_fromJson___closed__88);
l_Lean_Lsp_instFromJsonServerCapabilities___closed__0 = _init_l_Lean_Lsp_instFromJsonServerCapabilities___closed__0();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities___closed__0);
l_Lean_Lsp_instFromJsonServerCapabilities = _init_l_Lean_Lsp_instFromJsonServerCapabilities();
lean_mark_persistent(l_Lean_Lsp_instFromJsonServerCapabilities);
return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
